/*
 * Powered By dico
 * Since 2017 - 2018
 */
package com.seeyoui.kensite.bussiness.orderlang.invoice.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.seeyoui.kensite.common.base.domain.DataEntity;
import com.seeyoui.kensite.common.util.excel.annotation.ExcelField;

/**
 * Invoice
 * @author dico
 * @version 2.0
 * @since 1.0
 * @date 2018-02-07
 */

@JsonIgnoreProperties(ignoreUnknown = true)
public class Invoice extends DataEntity<Invoice> {
	private static final long serialVersionUID = 1L;

	@ExcelField(title="订单id", type=1, align=2, sort=7, mod="ol_invoice|ORDER_ID")
	private String orderId;//订单id
	@ExcelField(title="发票金额", type=1, align=2, sort=8, mod="ol_invoice|AMOUNT")
	private String amount;//发票金额
	@ExcelField(title="发票类型(0普通发票1增值税发票2电子发票)", type=1, align=2, sort=9, mod="ol_invoice|INVOICE_TYPE")
	private String invoiceType;//发票类型(0普通发票1增值税发票2电子发票)
	@ExcelField(title="采购商是否接收到", type=1, align=2, sort=10, mod="ol_invoice|IS_RECEIVED")
	private String isReceived;//采购商是否接收到
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ExcelField(title="收到发票时间", type=1, align=2, sort=11, mod="ol_invoice|RECEIVED_TIME")
	private java.util.Date receivedTime;//收到发票时间
	@ExcelField(title="发票抬头", type=1, align=2, sort=12, mod="ol_invoice|INVOICE_TITLE")
	private String invoiceTitle;//发票抬头
	@ExcelField(title="纳税人识别码", type=1, align=2, sort=13, mod="ol_invoice|TAXPAYER_CODE")
	private String taxpayerCode;//纳税人识别码

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderId() {
		return this.orderId;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getAmount() {
		return this.amount;
	}
	public void setInvoiceType(String invoiceType) {
		this.invoiceType = invoiceType;
	}

	public String getInvoiceType() {
		return this.invoiceType;
	}
	public void setIsReceived(String isReceived) {
		this.isReceived = isReceived;
	}

	public String getIsReceived() {
		return this.isReceived;
	}
	public void setReceivedTime(java.util.Date receivedTime) {
		this.receivedTime = receivedTime;
	}

	public java.util.Date getReceivedTime() {
		return this.receivedTime;
	}
	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle;
	}

	public String getInvoiceTitle() {
		return this.invoiceTitle;
	}
	public void setTaxpayerCode(String taxpayerCode) {
		this.taxpayerCode = taxpayerCode;
	}

	public String getTaxpayerCode() {
		return this.taxpayerCode;
	}
}